﻿using System;
using System.Runtime.InteropServices;

namespace Valve.VR
{
	// Token: 0x020007F5 RID: 2037
	[StructLayout(LayoutKind.Sequential, Pack = 4)]
	public struct VREvent_t_Packed
	{
		// Token: 0x06002F23 RID: 12067 RVA: 0x000F3E94 File Offset: 0x000F2094
		public VREvent_t_Packed(VREvent_t unpacked)
		{
			this.eventType = unpacked.eventType;
			this.trackedDeviceIndex = unpacked.trackedDeviceIndex;
			this.eventAgeSeconds = unpacked.eventAgeSeconds;
			this.data = unpacked.data;
		}

		// Token: 0x06002F24 RID: 12068 RVA: 0x000F3ECC File Offset: 0x000F20CC
		public void Unpack(ref VREvent_t unpacked)
		{
			unpacked.eventType = this.eventType;
			unpacked.trackedDeviceIndex = this.trackedDeviceIndex;
			unpacked.eventAgeSeconds = this.eventAgeSeconds;
			unpacked.data = this.data;
		}

		// Token: 0x04002E21 RID: 11809
		public uint eventType;

		// Token: 0x04002E22 RID: 11810
		public uint trackedDeviceIndex;

		// Token: 0x04002E23 RID: 11811
		public float eventAgeSeconds;

		// Token: 0x04002E24 RID: 11812
		public VREvent_Data_t data;
	}
}
